home *** CD-ROM | disk | FTP | other *** search
Text File | 2003-03-03 | 41.3 KB | 1,736 lines |
- // GXSurf.idl : IDL source for GXSurface80.dll
- //
-
- // This file will be processed by the MIDL tool to
- // produce the type library (GXSurface80.tlb) and marshalling code.
-
- /*
- ISurface
-
- Facets
- IFacet
- Contours
- IContour
- Nodes
- Edges
-
- Edges
- IEdge
- Nodes
- Facets
-
- Nodes
- INode
- Facets
- Edges
- Normals
- Textures
-
- Normals
- INormal
- Nodes
-
- Textures
- ITexture
- Nodes
- */
-
- import "imsigx.idl";
- import "oaidl.idl";
-
- interface IApplication;
- interface ISurface;
- interface IFacet;
- interface IEdge;
- interface INode;
- interface INormal;
- interface ITexture;
- interface IContour;
- interface Facets;
- interface Edges;
- interface Nodes;
- interface Contours;
- interface Normals;
- interface Textures;
-
- typedef enum
- {
- imsiSurfDraft = 1 << 1
- ,imsiSurfNormal = 1 << 2
- ,imsiSurfQuality = 1 << 3
- } ImsiSurfUpdateQuality;
-
- typedef enum
- {
- imsiNormByPlane = 1 << 1
- ,imsiNormByAverage = 1 << 2
- } ImsiNormalsBy;
-
- typedef enum
- {
- imsiSurfNotSmooth
- ,imsiSurfSmooth
- } ImsiSmoothQuality;
-
- [
- object
- ,uuid(6A481157-E531-11CF-A115-00A024158DAF)
- ,dual
- ,helpcontext(0x14000000)
- ,helpstring("Contours collection object.")
- ]
- interface Contours : IDispatch
- {
- ///////////////////////////// Properties \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\/
- /**
- * Returns an Application object that represents the owner of the specified object.
- */
- [
- propget
- ,helpcontext(0x14000001)
- ,helpstring("Returns an Application object that represents the owner of the specified object.")
- ]
- HRESULT Application(
- [out, retval] IApplication** prop // The Application object.
- );
-
- /**
- * Returns an Surface object that represents the owner of the specified object.
- */
- [
- propget
- ,helpcontext(0x14000002)
- ,helpstring("Returns an Surface object that represents the creator of the specified object.")
- ]
- HRESULT Surface(
- [out, retval] ISurface** prop // The Surface object.
- );
-
- /**
- * Returns an Facet object that represents the owner of the specified object.
- */
- [
- propget
- ,helpcontext(0x14000003)
- ,helpstring("Returns an Facet object that represents the owner of the specified object.")
- ]
- HRESULT Facet(
- [out, retval] IFacet** prop // The Facet object.
- );
-
- /**
- * Returns the parent object for the specified object.
- */
- [
- propget
- ,helpcontext(0x14000004)
- ,helpstring("Returns the parent object for the specified object.")
- ]
- HRESULT Parent(
- [out, retval] IDispatch** prop // The parent object.
- );
-
- /*
- * Returns the current coordinate system for items.
- */
- [
- propget
- ,helpcontext(0x14000005)
- ,helpstring("True if coordinates of contour's points should be tronsform to world coordinate system for items.")
- ]
- HRESULT UseWorldCS(
- [out, retval] IMSI_BOOL* bUseWorldCS
- );
-
- /*
- * Returns the current coordinate system for items.
- */
- [
- propput
- ,helpcontext(0x14000005)
- ,helpstring("True if coordinates of contour's points should be tronsform to world coordinate system for items.")
- ]
- HRESULT UseWorldCS(
- [in] IMSI_BOOL bUseWorldCS
- );
-
- /**
- * Returns the number of items in the collection.
- */
- [
- propget
- ,helpcontext(0x14000006)
- ,helpstring("Returns the number of items in the collection.")
- ]
- HRESULT Count(
- [out, retval] long* prop // The number of items.
- );
-
- /**
- * Returns part of a collection.
- */
- [
- propget
- ,id(DISPID_VALUE)
- ,helpcontext(0x14000007)
- ,helpstring("Returns part of a collection.")
- ]
- HRESULT Item(
- [in] VARIANT* Index, // Index of item to return.
- [out, retval] IContour** prop // The item.
- );
-
- /**
- * Private. Creates an enumeration object.
- */
- [
- propget
- ,restricted
- ,id(DISPID_NEWENUM)
- ,helpcontext(0x14000008)
- ,helpstring("Private. Creates an enumeration object.")
- ]
- HRESULT _NewEnum(
- [out, retval] IUnknown** prop // The enumeration object.
- );
-
- /////////////////////////////// Methods \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\/
- };
-
- [
- object
- ,uuid(6A481156-E531-11CF-A115-00A024158DAF)
- ,dual
- ,helpcontext(0x14010000)
- ,helpstring("Facets collection object.")
- ]
- interface Facets : IDispatch
- {
- ///////////////////////////// Properties \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\/
- /**
- * Returns an Application object that represents the owner of the specified object.
- */
- [
- propget
- ,helpcontext(0x14010001)
- ,helpstring("Returns an Application object that represents the owner of the specified object.")
- ]
- HRESULT Application(
- [out, retval] IApplication** prop // The Application object.
- );
-
- /**
- * Returns an Surface object that represents the owner of the specified object.
- */
- [
- propget
- ,helpcontext(0x14010002)
- ,helpstring("Returns an Surface object that represents the owner of the specified object.")
- ]
- HRESULT Surface(
- [out, retval] ISurface** prop // The Surface object.
- );
-
- /**
- * Returns the parent object for the specified object.
- */
- [
- propget
- ,helpcontext(0x14010003)
- ,helpstring("Returns the parent object for the specified object.")
- ]
- HRESULT Parent(
- [out, retval] IDispatch** prop // The parent object.
- );
-
- /*
- * Returns the current coordinate system for items.
- */
- [
- propget
- ,helpcontext(0x14010004)
- ,helpstring("True if coordinates of contour's points should be tronsform to world coordinate system for items.")
- ]
- HRESULT UseWorldCS(
- [out, retval] IMSI_BOOL* bUseWorldCS
- );
-
- /*
- * Returns the current coordinate system for items.
- */
- [
- propput
- ,helpcontext(0x14010004)
- ,helpstring("True if coordinates of contour's points should be tronsform to world coordinate system for items.")
- ]
- HRESULT UseWorldCS(
- [in] IMSI_BOOL bUseWorldCS
- );
-
- /**
- * Returns the number of items in the collection.
- */
- [
- propget
- ,helpcontext(0x14010005)
- ,helpstring("Returns the number of items in the collection.")
- ]
- HRESULT Count(
- [out, retval] long* prop // The number of items.
- );
-
- /**
- * Returns part of a collection.
- */
- [
- propget
- ,id(DISPID_VALUE)
- ,helpcontext(0x14010006)
- ,helpstring("Returns part of a collection.")
- ]
- HRESULT Item(
- [in] VARIANT* Index, // Index of item to return.
- [out, retval] IFacet** prop // The item.
- );
-
- /**
- * Creates an enumeration object.
- */
- [
- propget
- ,restricted
- ,id(DISPID_NEWENUM)
- ,helpcontext(0x14010007)
- ,helpstring("Creates an enumeration object.")
- ]
- HRESULT _NewEnum(
- [out, retval] IUnknown** prop // The enumeration object.
- );
-
- /////////////////////////////// Methods \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\/
- /*
- * Creates a new Facet object and adds it to the collection.
- */
- [
- helpcontext(0x14010008)
- ,helpstring("Creates a new Facet object and adds it to the collection.")
- ]
- HRESULT Add(
- [in, ] VARIANT* pvarFacet // array of coordinates/indexes for the Facet.
- ,[in, optional] VARIANT* pvarTexFacet // array of texture coordinates for the Facet.
- ,[in, optional] VARIANT* pvarNormsFacet // array of custom normals for the Facet.
- ,[in, optional] VARIANT* pbDblSided // true if double sided Facet.
- ,[in, optional] VARIANT* pbContour // true if countour making Facet.
- ,[out, retval ] IFacet** prop // The newly created Node object.
- );
-
- };
-
- [
- object
- ,uuid(6A481155-E531-11CF-A115-00A024158DAF)
- ,dual
- ,helpcontext(0x14020000)
- ,helpstring("Nodes collection object.")
- ]
-
- interface Nodes : IDispatch
- {
-
- ///////////////////////////// Properties \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\/
- /**
- * Returns an Application object that represents the owner of the specified object.
- */
- [
- propget
- ,helpcontext(0x14020001)
- ,helpstring("Returns an Application object that represents the owner of the specified object.")
- ]
- HRESULT Application(
- [out, retval] IApplication** prop // The Application object.
- );
-
- /**
- * Returns an Surface object that represents the owner of the specified object.
- */
- [
- propget
- ,helpcontext(0x14020002)
- ,helpstring("Returns an Surface object that represents the owner of the specified object.")
- ]
- HRESULT Surface(
- [out, retval] ISurface** prop // The Surface object.
- );
-
- /**
- * Returns the parent object for the specified object.
- */
- [
- propget
- ,helpcontext(0x14020003)
- ,helpstring("Returns the parent object for the specified object.")
- ]
- HRESULT Parent(
- [out, retval] IDispatch** prop // The parent object.
- );
-
- /**
- * Returns the number of items in the collection.
- */
- [
- propget
- ,helpcontext(0x14020004)
- ,helpstring("Returns the number of items in the collection.")
- ]
- HRESULT Count(
- [out, retval] long* prop // The number of items.
- );
-
- /**
- * Returns part of a collection.
- */
- [
- propget
- ,id(DISPID_VALUE)
- ,helpcontext(0x14020005)
- ,helpstring("Returns part of a collection.")
- ]
- HRESULT Item(
- [in] VARIANT* Index, // Index of item to return.
- [out, retval] INode** prop // The item.
- );
-
-
- /*
- * Returns the current coordinate system for items.
- */
- [
- propget
- ,helpcontext(0x14020006)
- ,helpstring("True if items should be tronsform to world coordinate system for items.")
- ]
- HRESULT UseWorldCS(
- [out, retval] IMSI_BOOL* bUseWorldCS
- );
-
- /*
- * Returns the current coordinate system for items.
- */
- [
- propput
- ,helpcontext(0x14020006)
- ,helpstring("True if items should be tronsform to world coordinate system for items.")
- ]
- HRESULT UseWorldCS(
- [in] IMSI_BOOL bUseWorldCS
- );
-
- /**
- * Creates an enumeration object.
- */
- [
- propget
- ,restricted
- ,id(DISPID_NEWENUM)
- ,helpcontext(0x14020007)
- ,helpstring("Creates an enumeration object.")
- ]
- HRESULT _NewEnum(
- [out, retval] IUnknown** prop // The enumeration object.
- );
-
- /////////////////////////////// Methods \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\/
- /*
- * Creates a new Node object and adds it to the collection.
- */
- [
- ,helpcontext(0x14020008)
- ,helpstring("Creates a new Node object and adds it to the collection.")
- ]
- HRESULT Add(
- [in] VARIANT* X, // X coordinate of the Node.
- [in] VARIANT* Y, // Y coordinate of the Node.
- [in] VARIANT* Z, // Z coordinate of the Node.
- [in, optional] VARIANT* TexU, // X coordinate of the texture of Node.
- [in, optional] VARIANT* TexV, // Y coordinate of the texture of Node.
- [in, optional] VARIANT* NormX, // X coordinate of the Node.
- [in, optional] VARIANT* NormY, // Y coordinate of the Node.
- [in, optional] VARIANT* NormZ, // Z coordinate of the Node.
- [out, retval] INode** prop // The newly created Node object.
- );
- };
-
- [
- object
- ,uuid(6A481154-E531-11CF-A115-00A024158DAF)
- ,dual
- ,helpcontext(0x14030000)
- ,helpstring("Edges collection object.")
- ]
- interface Edges : IDispatch
- {
- ///////////////////////////// Properties \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\/
- /**
- * Returns an Application object that represents the owner of the specified object.
- */
- [
- propget
- ,helpcontext(0x14030001)
- ,helpstring("Returns an Application object that represents the owner of the specified object.")
- ]
- HRESULT Application(
- [out, retval] IApplication** prop // The Application object.
- );
-
- /**
- * Returns an Surface object that represents the owner of the specified object.
- */
- [
- propget
- ,helpcontext(0x14030002)
- ,helpstring("Returns an Surface object that represents the owner of the specified object.")
- ]
- HRESULT Surface(
- [out, retval] ISurface** prop // The Surface object.
- );
-
- /**
- * Returns the parent object for the specified object.
- */
- [
- propget
- ,helpcontext(0x14030003)
- ,helpstring("Returns the parent object for the specified object.")
- ]
- HRESULT Parent(
- [out, retval] IDispatch** prop // The parent object.
- );
-
- /*
- * Returns the current coordinate system for items.
- */
- [
- propget
- ,helpcontext(0x14030004)
- ,helpstring("True if coordinates of contour's points should be tronsform to world coordinate system for items.")
- ]
- HRESULT UseWorldCS(
- [out, retval] IMSI_BOOL* bUseWorldCS
- );
-
- /*
- * Returns the current coordinate system for items.
- */
- [
- propput
- ,helpcontext(0x14030004)
- ,helpstring("True if coordinates of contour's points should be tronsform to world coordinate system for items.")
- ]
- HRESULT UseWorldCS(
- [in] IMSI_BOOL bUseWorldCS
- );
-
- /**
- * Returns the number of items in the collection.
- */
- [
- propget
- ,helpcontext(0x14030005)
- ,helpstring("Returns the number of items in the collection.")
- ]
- HRESULT Count(
- [out, retval] long* prop // The number of items.
- );
-
- /**
- * Returns part of a collection.
- */
- [
- propget
- ,id(DISPID_VALUE)
- ,helpcontext(0x14030006)
- ,helpstring("Returns part of a collection.")
- ]
- HRESULT Item(
- [in] VARIANT* Index, // Index of item to return.
- [out, retval] IEdge** prop // The item.
- );
-
- /**
- * Creates an enumeration object.
- */
- [
- propget
- ,restricted
- ,id(DISPID_NEWENUM)
- ,helpcontext(0x14030007)
- ,helpstring("Creates an enumeration object.")
- ]
- HRESULT _NewEnum(
- [out, retval] IUnknown** prop // The enumeration object.
- );
-
- /////////////////////////////// Methods \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\/
- /*
- * Creates a new Edge object and adds it to the collection.
- */
- [
- ,helpcontext(0x14030008)
- ,helpstring("Creates a new Edge object and adds it to the collection.")
- ]
-
- HRESULT Add(
- [in, optional] VARIANT* varEdge, // coordinates/indexes of the Edge.
- [in, optional] VARIANT* pvarTexEdge, // array of texture coordinates for the Facet.
- [in, optional] VARIANT* pvarNormsEdeg, // array of custom normals for the Facet.
- [out, retval] IEdge** prop // The newly created Node object.
- );
- };
-
- [
- object
- ,hidden, restricted
- ,uuid(6A48115E-E531-11CF-A115-00A024158DAF)
- ,dual
- ,helpcontext(0x14040000)
- ,helpstring("Normals collection object.")
- ]
-
- interface Normals : IDispatch
- {
-
- ///////////////////////////// Properties \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\/
- /**
- * Returns an Application object that represents the owner of the specified object.
- */
- [
- propget
- ,helpcontext(0x14040001)
- ,helpstring("Returns an Application object that represents the owner of the specified object.")
- ]
- HRESULT Application(
- [out, retval] IApplication** prop // The Application object.
- );
-
- /**
- * Returns an Surface object that represents the owner of the specified object.
- */
- [
- propget
- ,helpcontext(0x14040002)
- ,helpstring("Returns an Surface object that represents the owner of the specified object.")
- ]
- HRESULT Surface(
- [out, retval] ISurface** prop // The Surface object.
- );
-
- /**
- * Returns the parent object for the specified object.
- */
- [
- propget
- ,helpcontext(0x14040003)
- ,helpstring("Returns the parent object for the specified object.")
- ]
- HRESULT Parent(
- [out, retval] IDispatch** prop // The parent object.
- );
-
- /**
- * Returns the number of items in the collection.
- */
- [
- propget
- ,helpcontext(0x14040004)
- ,helpstring("Returns the number of items in the collection.")
- ]
- HRESULT Count(
- [out, retval] long* prop // The number of items.
- );
-
- /**
- * Returns part of a collection.
- */
- [
- propget
- ,id(DISPID_VALUE)
- ,helpcontext(0x14040005)
- ,helpstring("Returns part of a collection.")
- ]
- HRESULT Item(
- [in] VARIANT* Index, // Index of item to return.
- [out, retval] INode** prop // The item.
- );
-
-
- /*
- * Returns the current coordinate system for items.
- */
- [
- propget
- ,helpcontext(0x14040006)
- ,helpstring("True if items should be tronsform to world coordinate system for items.")
- ]
- HRESULT UseWorldCS(
- [out, retval] IMSI_BOOL* bUseWorldCS
- );
-
- /*
- * Returns the current coordinate system for items.
- */
- [
- propput
- ,helpcontext(0x14040006)
- ,helpstring("True if items should be tronsform to world coordinate system for items.")
- ]
- HRESULT UseWorldCS(
- [in] IMSI_BOOL bUseWorldCS
- );
-
- /**
- * Creates an enumeration object.
- */
- [
- propget
- ,restricted
- ,id(DISPID_NEWENUM)
- ,helpcontext(0x14040007)
- ,helpstring("Creates an enumeration object.")
- ]
- HRESULT _NewEnum(
- [out, retval] IUnknown** prop // The enumeration object.
- );
-
- /////////////////////////////// Methods \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\/
-
- /*
- * Creates a new Normal object and adds it to the collection.
- */
- [
- ,helpcontext(0x14040008)
- ,helpstring("Creates a new Normal object and adds it to the collection.")
- ]
- HRESULT Add(
- [in] VARIANT* X, // X component of the Normal.
- [in] VARIANT* Y, // Y component of the Normal.
- [in] VARIANT* Z, // Z component of the Normal.
- [out, retval] INormal** prop // The newly created Normal object.
- );
-
- [
- ,helpcontext(0x14040009)
- ,helpstring("Clear collection contents and generate new collection contents.")
- ]
- HRESULT GenerateBy(
- [in] ImsiNormalsBy prop
- );
-
- [
- ,helpcontext(0x1404000A)
- ,helpstring("Clear collection contents.")
- ]
- HRESULT Clear(
- [in] VARIANT* pvarParent
- );
- };
-
- /**
- * An object that describe contour.
- */
- [
- object
- ,uuid(6A48115B-E531-11CF-A115-00A024158DAF)
- ,dual
- ,helpcontext(0x14050000)
- ,helpstring("Contour object.")
- ]
- interface IContour : IDispatch
- {
- ///////////////////////////// Properties \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\/
- /**
- * Returns an Application object that represents the owner of the specified object.
- */
- [
- propget
- ,helpcontext(0x14050001)
- ,helpstring("Returns an Application object that represents the owner of the specified object.")
- ]
- HRESULT Application(
- [out, retval] IApplication** prop // The Application object.
- );
-
- /**
- * Returns an Facet object that represents the owner of the specified object.
- */
- [
- propget
- ,helpcontext(0x14050002)
- ,helpstring("Returns an Facet object that represents the owner of the specified object.")
- ]
- HRESULT Facet(
- [out, retval] IFacet** prop // The Faset object.
- );
-
- /**
- * Returns the parent object for the specified object.
- */
- [
- propget
- ,helpcontext(0x14050003)
- ,helpstring("Returns the parent object for the specified object.")
- ]
- HRESULT Parent(
- [out, retval] IDispatch** prop // The parent object.
- );
-
- /**
- * Returns True if internal contour
- */
- [
- ,propget
- ,helpcontext(0x14050004)
- ,helpstring("Returns True if internal contour")
- ]
- HRESULT Internal(
- [out, retval] IMSI_BOOL* prop // True if internal contour
- );
-
- /**
- * Returns the number of points in the contour.
- */
- [
- propget
- ,helpcontext(0x14050005)
- ,helpstring("Returns the number of points in the contour.")
- ]
- HRESULT Count(
- [out, retval] long* prop // The number of points in the contour.
- );
-
- /**
- * Returns the coordinates for the specified contour.
- */
- [
- propget
- ,helpcontext(0x14050006)
- ,helpstring("Returns the coordinates for the specified contour.")
- ]
- HRESULT Coordinates(
- [out, retval] VARIANT* prop // The coordinates of points in the contour.
- );
-
- ///////////////////////////// Methods \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\/
-
- /**
- * Returns the distance to the specified Contour object.
- */
- [
- helpcontext(0x14050007)
- ,helpstring("Returns the distance to the specified Contour object.")
- ,restricted, hidden
- ]
- HRESULT GetDistance(
- [in] double X, // The x coordinate of the point to be tested.
- [in] double Y, // The y coordinate of the point to be tested.
- [in] double Z, // The z coordinate of the point to be tested.
- [in, out, optional] VARIANT *varClosestFacet, // The closest Facet on the Surface object.
- [in, out, optional] VARIANT *varClosestEdge, // The closest Edge on the Surface object.
- [in, out, optional] VARIANT *varClosestNode, // The closest Node on the Surface object.
- [out, retval] double *prop // The distance from (X, Y, Z) to the closest point on the Surface Object.
- );
- };
-
- [
- object
- ,uuid(6A48115A-E531-11CF-A115-00A024158DAF)
- ,dual
- ,helpcontext(0x14060000)
- ,helpstring("Node object.")
- ]
- interface INode : IDispatch
- {
- ///////////////////////////// Properties \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\/
- /**
- * Returns an Application object that represents the owner of the specified object.
- */
- [
- propget
- ,helpcontext(0x14060001)
- ,helpstring("Returns an Application object that represents the owner of the specified object.")
- ]
- HRESULT Application(
- [out, retval] IApplication** prop // The Application object.
- );
-
- /**
- * Returns an Surface object that represents the owner of the specified object.
- */
- [
- propget
- ,helpcontext(0x14060002)
- ,helpstring("Returns an Surface object that represents the owner of the specified object.")
- ]
- HRESULT Surface(
- [out, retval] ISurface** prop // The Surface object.
- );
-
- /**
- * Returns the parent object for the specified object.
- */
- [
- propget
- ,helpcontext(0x14060003)
- ,helpstring("Returns the parent object for the specified object.")
- ]
- HRESULT Parent(
- [out, retval] IDispatch** prop // The parent object.
- );
-
- /**
- * Returns the Facets collection of this Node object.
- */
- [
- propget
- ,helpcontext(0x14060004)
- ,helpstring("Returns the Facets collection of this Node object.")
- ]
- HRESULT Facets(
- [out, retval] Facets** ppFacets
- );
-
- /**
- * Returns the Edges collection of this Node object.
- */
- [
- propget
- ,helpcontext(0x14060005)
- ,helpstring("Returns the Edges collection of this Node object.")
- ]
- HRESULT Edges(
- [out, retval] Edges** ppEdges
- );
-
- /**
- * The x component of the Node object's location.
- */
- [
- propget
- ,helpcontext(0x14060006)
- ,helpstring("The x component of the Node object's location.")
- ]
- HRESULT X(
- [out, retval] double* prop // The x component of the Node object's location.
- );
-
- /**
- * The x component of the Node object's location.
- */
- [
- propput
- ,helpcontext(0x14060006)
- ,helpstring("The x component of the Node object's location.")
- ]
- HRESULT X(
- [in] double prop // The x component of the Node object's location.
- );
-
- /**
- * The y component of the Node object's location.
- */
- [
- propget
- ,helpcontext(0x14060007)
- ,helpstring("The y component of the Node object's location.")
- ]
- HRESULT Y(
- [out, retval] double* prop // The y component of the Node object's location.
- );
-
- /**
- * The y component of the Node object's location.
- */
- [
- propput
- ,helpcontext(0x14060007)
- ,helpstring("The y component of the Node object's location.")
- ]
- HRESULT Y(
- [in] double prop // The y component of the Node object's location.
- );
-
-
- /**
- * The z component of the Node object's location.
- */
- [
- propget
- ,helpcontext(0x14060008)
- ,helpstring("The z component of the Node object's location.")
- ]
- HRESULT Z(
- [out, retval] double* prop // The z component of the Node object's location.
- );
-
- /**
- * The z component of the Node object's location.
- */
- [
- propput
- ,helpcontext(0x14060008)
- ,helpstring("The z component of the Node object's location.")
- ]
- HRESULT Z(
- [in] double prop // The z component of the Node object's location.
- );
-
- /**
- * Returns U, V components of the texture of this Node object.
- */
-
- [
- ,helpcontext(0x14060009)
- ,helpstring("Returns U, V components of the texture w of this Node object.")
- ]
- HRESULT GetUV(
- [in ] VARIANT* varParent
- ,[out ] double* varU
- ,[out ] double* varV
- );
-
- /**
- * Sets U, V components of the texture of this Node object.
- */
-
- [
- ,helpcontext(0x1406000A)
- ,helpstring("Sets U, V components of the texture of this Node object.")
- ]
- HRESULT SetUV(
- [in, optional ] VARIANT* varParent
- ,[out, optional ] VARIANT* varU
- ,[out, optional ] VARIANT* varV
- );
-
- /**
- * Returns X, Y Z components of the normal of this Node object.
- */
- [
- ,helpcontext(0x1406000B)
- ,helpstring("Returns X, Y Z components of the normal of this Node object.")
- ]
- HRESULT GetNorm(
- [in ] VARIANT* varParent
- ,[out ] double* varX
- ,[out ] double* varY
- ,[out ] double* varZ
- );
-
- /**
- * Returns X, Y Z components of the normal of this Node object.
- */
- [
- ,helpcontext(0x1407000C)
- ,helpstring("Returns X, Y Z components of the normal of this Node object.")
- ]
- HRESULT GetNormEx(
- [in ] VARIANT* varParent
- ,[out ] VARIANT* varX
- ,[out ] VARIANT* varY
- ,[out ] VARIANT* varZ
- );
-
- /**
- * Returns X, Y Z components of the normal of this Node object.
- */
- [
- ,helpcontext(0x1406000C)
- ,helpstring("Returns X, Y Z components of the normal of this Node object.")
- ]
- HRESULT SetNorm(
- [in ] VARIANT* varParent
- ,[in ] VARIANT* varX
- ,[in ] VARIANT* varY
- ,[in ] VARIANT* varZ
- );
-
- [
- propget
- ,helpcontext(0x1406000D)
- ,helpstring("Returns ID of this Node object.")
- ]
- HRESULT ID(
- [out, retval] long* prop
- );
-
- ///////////////////////////// Methods \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\/
- /**
- * Deletes the object.
- */
- [
- ,helpcontext(0x1406000E)
- ,helpstring("Deletes the object.")
- ]
- HRESULT Delete(
- );
-
- /**
- * Returns the distance to the specified Node object.
- */
- [
- helpcontext(0x1406000F)
- ,helpstring("Returns the distance to the specified Node object.")
- ,restricted, hidden
- ]
- HRESULT GetDistance(
- [in] double X, // The x coordinate of the point to be tested.
- [in] double Y, // The y coordinate of the point to be tested.
- [in] double Z, // The z coordinate of the point to be tested.
- [out, retval] double *prop // The distance from (X, Y, Z) to the closest point on the Node Object.
- );
-
- };
-
- [
- object
- ,uuid(6A481159-E531-11CF-A115-00A024158DAF)
- ,dual
- ,helpcontext(0x14070000)
- ,helpstring("Facet object.")
- ]
- interface IFacet : IDispatch
- {
- ///////////////////////////// Properties \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\/
- /**
- * Returns an Application object that represents the owner of the specified object.
- */
- [
- propget
- ,helpcontext(0x14070001)
- ,helpstring("Returns an Application object that represents the owner of the specified object.")
- ]
- HRESULT Application(
- [out, retval] IApplication** prop // The Application object.
- );
-
- /**
- * Returns an Surface object that represents the owner of the specified object.
- */
- [
- propget
- ,helpcontext(0x14070002)
- ,helpstring("Returns an Surface object that represents the owner of the specified object.")
- ]
- HRESULT Surface(
- [out, retval] ISurface** prop // The Surface object.
- );
-
- /**
- * Returns the parent object for the specified object.
- */
- [
- propget
- ,helpcontext(0x14070003)
- ,helpstring("Returns the parent object for the specified object.")
- ]
- HRESULT Parent(
- [out, retval] IDispatch** prop // The parent object.
- );
-
- /**
- * Returns the Nodes object for the specified object.
- */
- [
- propget
- ,helpcontext(0x14070004)
- ,helpstring("Returns the Nodes object for the specified object.")
- ]
- HRESULT Nodes(
- [out, retval] Nodes** ppNodes
- );
-
- /**
- * Returns the Contours object for the specified object.
- */
- [
- propget
- ,helpcontext(0x14070005)
- ,helpstring("Returns the Contours object for the specified object.")
- ]
- HRESULT Contours(
- [out, retval] Contours** ppContours
- );
-
- /**
- * Returns the Edges object for the specified object.
- */
- [
- propget
- ,helpcontext(0x14070006)
- ,helpstring("Returns the Edges object for the specified object.")
- ]
- HRESULT Edges(
- [out, retval] Edges** ppEdges
- );
-
- /*
- * True if double sided facet
- */
- [
- propget
- ,helpcontext(0x14070007)
- ,helpstring("True if double sided facet")
- ]
- HRESULT DoubleSided(
- [out, retval] IMSI_BOOL* prop
- );
-
- /*
- * True if double sided facet
- */
- [
- propput
- ,helpcontext(0x14070007)
- ,helpstring("True if double sided facet")
- ]
- HRESULT DoubleSided(
- [in] IMSI_BOOL prop
- );
-
- [
- propget
- ,helpcontext(0x14070008)
- ,helpstring("Returns the ID of the facet.")
- ]
- HRESULT ID(
- [out, retval] long* prop
- );
-
- /**
- * Returns A, B, C, D components of the plane of this Facet object.
- */
- [
- propget
- ,helpcontext(0x14070009)
- ,helpstring("Returns A, B, C, D components of the plane of this Facet object.")
- ]
- HRESULT Plane(
- [out, retval] VARIANT* pvarPlane
- );
-
- ///////////////////////////// Methods \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\/
- /**
- * Deletes the object.
- */
- [
- helpcontext(0x1407000A)
- ,helpstring("Deletes the object.")
- ]
- HRESULT Delete(
- );
-
- /**
- * Returns the distance to the specified Facet object.
- */
- [
- helpcontext(0x1407000B)
- ,helpstring("Returns the distance to the specified Facet object.")
- ,restricted, hidden
- ]
- HRESULT GetDistance(
- [in] double X, // The x coordinate of the point to be tested.
- [in] double Y, // The y coordinate of the point to be tested.
- [in] double Z, // The z coordinate of the point to be tested.
- [in, out, optional] VARIANT *varClosestNode, // The closest Node on the Facet object.
- [in, out, optional] VARIANT *varClosestContour, // The closest Contour on the Facet object.
- [out, retval] double *prop // The distance from (X, Y, Z) to the closest point on the Facet Object.
- );
- };
-
- [
- object
- ,uuid(6A481158-E531-11CF-A115-00A024158DAF)
- ,dual
- ,helpcontext(0x14080000)
- ,helpstring("Edge object.")
- ]
- interface IEdge : IDispatch
- {
- ///////////////////////////// Properties \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\/
- /**
- * Returns an Application object that represents the owner of the specified object.
- */
- [
- propget
- ,helpcontext(0x14080001)
- ,helpstring("Returns an Application object that represents the owner of the specified object.")
- ]
- HRESULT Application(
- [out, retval] IApplication** prop // The Application object.
- );
-
- /**
- * Returns an Surface object that represents the owner of the specified object.
- */
- [
- propget
- ,helpcontext(0x14080002)
- ,helpstring("Returns an Surface object that represents the owner of the specified object.")
- ]
- HRESULT Surface(
- [out, retval] ISurface** prop // The Surface object.
- );
-
- /**
- * Returns the parent object for the specified object.
- */
- [
- propget
- ,helpcontext(0x14080003)
- ,helpstring("Returns the parent object for the specified object.")
- ]
- HRESULT Parent(
- [out, retval] IDispatch** prop // The parent object.
- );
-
- /**
- Returns the Nodes collection of this Edge object
- */
- [
- propget
- ,helpcontext(0x14080004)
- ,helpstring("Returns the Nodes collection of this Edge object")
- ]
- HRESULT Nodes(
- [out, retval] Nodes** ppNodes
- );
-
- /**
- Returns the Facets collection of this Edge object.
- */
- [
- propget
- ,helpcontext(0x14080005)
- ,helpstring("Returns the Facets collection of this Edge object.")
- ]
- HRESULT Facets(
- [out, retval] Facets** ppFacets
- );
-
- /**
- True if visible Edge.
- */
- [
- propget
- ,helpcontext(0x14080006)
- ,helpstring("True if visible Edge.")
- ]
- HRESULT Visible(
- [out, retval] IMSI_BOOL* prop
- );
-
- /**
- True if visible Edge
- */
- [
- propput
- ,helpcontext(0x14080006)
- ,helpstring("True if visible Edge.")
- ]
- HRESULT Visible(
- [in] IMSI_BOOL prop
- );
-
- /**
- True if formmaking Edge.
- */
- [
- propget
- ,helpcontext(0x14080007)
- ,helpstring("True if formmaking Edge.")
- ]
- HRESULT FormMaking(
- [out, retval] IMSI_BOOL* prop
- );
-
- /**
- True if formmaking Edge
- */
- [
- propput
- ,helpcontext(0x14080007)
- ,helpstring("True if formmaking Edge.")
- ]
- HRESULT FormMaking(
- [in] IMSI_BOOL prop
- );
-
- [
- propget
- ,helpcontext(0x14080008)
- ,helpstring("Returns ID of the Edge.")
- ]
- HRESULT ID(
- [out, retval] long* prop
- );
-
- ///////////////////////////// Methods \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\/
- /**
- * Deletes the object.
- */
- [
- helpcontext(0x14080009)
- ,helpstring("Deletes the object.")
- ]
- HRESULT Delete(
- );
-
- /**
- * Returns the distance to the specified Edge object.
- */
- [
- helpcontext(0x1408000A)
- ,helpstring("Returns the distance to the specified Edge object.")
- ,restricted, hidden
- ]
- HRESULT GetDistance(
- [in] double X, // The x coordinate of the point to be tested.
- [in] double Y, // The y coordinate of the point to be tested.
- [in] double Z, // The z coordinate of the point to be tested.
- [in, out, optional] VARIANT *varClosestNode, // The closest Node on the Edge object.
- [out, retval] double *prop // The distance from (X, Y, Z) to the closest point on the Edge Object.
- );
- };
-
-
- [
- object
- ,hidden, restricted
- ,uuid(6A48115C-E531-11CF-A115-00A024158DAF)
- ,dual
- ,helpcontext(0x14090000)
- ,helpstring("Normal object.")
- ]
- interface INormal : IDispatch
- {
- ///////////////////////////// Properties \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\/
- /**
- * Returns an Application object that represents the owner of the specified object.
- */
- [
- propget
- ,helpcontext(0x14090001)
- ,helpstring("Returns an Application object that represents the owner of the specified object.")
- ]
- HRESULT Application(
- [out, retval] IApplication** prop // The Application object.
- );
-
- /**
- * Returns an Surface object that represents the owner of the specified object.
- */
- [
- propget
- ,helpcontext(0x14090002)
- ,helpstring("Returns an Surface object that represents the owner of the specified object.")
- ]
- HRESULT Surface(
- [out, retval] ISurface** prop // The Surface object.
- );
-
- /**
- * Returns the parent object for the specified object.
- */
- [
- propget
- ,helpcontext(0x14090003)
- ,helpstring("Returns the parent object for the specified object.")
- ]
- HRESULT Parent(
- [out, retval] IDispatch** prop // The parent object.
- );
-
-
- /**
- * Returns the Nodes collection of this Normal object.
- */
- [
- propget
- ,helpcontext(0x14090004)
- ,helpstring("Returns the Nodes collection of this Normal object.")
- ]
- HRESULT Nodes(
- [out, retval] Nodes** ppNodes
- );
-
- /**
- * The x component of the Node object's location.
- */
- [
- propget
- ,helpcontext(0x14090005)
- ,helpstring("The x component of the Node object's location.")
- ]
- HRESULT X(
- [out, retval] double* prop // The x component of the Node object's location.
- );
-
- /**
- * The x component of the Node object's location.
- */
- [
- propput
- ,helpcontext(0x14090005)
- ,helpstring("The x component of the Node object's location.")
- ]
- HRESULT X(
- [in] double prop // The x component of the Node object's location.
- );
-
- /**
- * The y component of the Node object's location.
- */
- [
- propget
- ,helpcontext(0x14090006)
- ,helpstring("The Y component of the Node object's location.")
- ]
- HRESULT Y(
- [out, retval] double* prop // The y component of the Node object's location.
- );
-
- /**
- * The y component of the Node object's location.
- */
- [
- propput
- ,helpcontext(0x14090006)
- ,helpstring("The Y component of the Node object's location.")
- ]
- HRESULT Y(
- [in] double prop // The y component of the Node object's location.
- );
-
-
- /**
- * The z component of the Node object's location.
- */
- [
- propget
- ,helpcontext(0x14090007)
- ,helpstring("The Z component of the Node object's location.")
- ]
- HRESULT Z(
- [out, retval] double* prop // The z component of the Node object's location.
- );
-
- /**
- * The z component of the Node object's location.
- */
- [
- propput
- ,helpcontext(0x14090007)
- ,helpstring("The Z component of the Node object's location.")
- ]
- HRESULT Z(
- [in] double prop // The z component of the Node object's location.
- );
-
- [
- propget
- ,helpcontext(0x14090008)
- ,helpstring("Returns ID of the Node .")
- ]
- HRESULT ID(
- [out, retval] long* prop
- );
-
- ///////////////////////////// Methods \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\/
-
- };
-
- [
- object
- ,uuid(6A481153-E531-11CF-A115-00A024158DAF)
- ,dual
- ,helpcontext(0x140A0000)
- ,helpstring("Surface object.")
- ]
- interface ISurface : IDispatch
- {
- ///////////////////////////// Properties \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\/
- /**
- * Returns an Application object that represents the owner of the specified object.
- */
- [
- propget
- ,helpcontext(0x140A0001)
- ,helpstring("Returns an Application object that represents the owner of the specified object.")
- ]
- HRESULT Application(
- [out, retval] IApplication** prop // The Application object.
- );
-
- /**
- * Returns the parent object for the specified object.
- */
- [
- propget
- ,helpcontext(0x140A0002)
- ,helpstring("Returns the parent object for the specified object.")
- ]
- HRESULT Parent(
- [out, retval] IDispatch** prop // The parent object.
- );
-
- /*
- Returns the Facets collection of this Surface object.
- */
- [
- propget
- ,helpcontext(0x140A0003)
- ,helpstring("Returns the Facets collection of this Surface object.")
- ]
- HRESULT Facets(
- [out, retval] Facets** ppFacets
- );
-
- /*
- Returns the Edges collection of this Surface object.
- */
- [
- propget
- ,helpcontext(0x140A0004)
- ,helpstring("Returns the Edges collection of this Surface object.")
- ]
- HRESULT Edges(
- [out, retval] Edges** ppEdges
- );
-
- /*
- Returns the Nodes collection of this Surface object.
- */
- [
- propget
- ,helpcontext(0x140A0005)
- ,helpstring("Returns the Nodes collection of this Surface object.")
- ]
- HRESULT Nodes(
- [out, retval] Nodes** ppNodes
- );
-
- /*
- Returns the quality of the surface
- */
- [
- propget
- ,helpcontext(0x140A0006)
- ,helpstring("Returns the quality of the surface.")
- ]
- HRESULT UpdateQuality(
- [out, retval] ImsiSurfUpdateQuality* prop
- );
-
- /*
- Sets the quality of the surface.
- */
- [
- propput
- ,helpcontext(0x140A0006)
- ,helpstring("Sets the quality of the surface.")
- ]
- HRESULT UpdateQuality(
- [in] ImsiSurfUpdateQuality prop
- );
-
- /**
- * True if changes to the Surface object will be immmediately reflected.
- */
- [
- propget
- ,helpcontext(0x140A0007)
- ,helpstring("True if changes to the Surface object will be immmediately reflected.")
- ]
- HRESULT Update(
- [out, retval] IMSI_BOOL* prop
- );
-
- /*
- * True if changes to the Surface object will be immmediately reflected.
- */
- [
- propput
- ,helpcontext(0x140A0007)
- ,helpstring("True if changes to the Surface object will be immmediately reflected.")
- ]
- HRESULT Update(
- [in] IMSI_BOOL prop
- );
-
- /*
- * True if surface can't has facets due "degenerative faceting" ACIS option
- */
- [
- propget
- ,helpcontext(0x140A0008)
- ,helpstring("True if surface can't has facets due 'degenerative faceting' ACIS option")
- ]
- HRESULT Facetless(
- [out, retval] IMSI_BOOL* prop
- );
-
- ///////////////////////////// Methods \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\/
-
- /**
- * Returns the distance to the specified Graphic object.
- */
- [
- helpcontext(0x140A0009)
- ,helpstring("Returns the distance to the specified Surface object.")
- ,restricted, hidden
- ]
- HRESULT GetDistance(
- [in] IDispatch* pIDispVw,
- [in] double X, // The x coordinate of the point to be tested.
- [in] double Y, // The y coordinate of the point to be tested.
- [in] double Z, // The z coordinate of the point to be tested.
- [out, optional] VARIANT *pvarClosestFacet, // The closest Facet on the Surface object.
- [out, optional] VARIANT *pvarClosestEdge, // The closest Edge on the Surface object.
- [out, optional] VARIANT *pvarClosestNode, // The closest Node on the Surface object.
- [out, optional] VARIANT *pvarHitPoint,
- [out, optional] VARIANT *pvarHitNormal,
- [out, retval] double *prop // The distance from (X, Y, Z) to the closest point on the Surface Object.
- );
-
- [
- helpcontext(0x140A000A)
- ,helpstring("Smooth surface.")
- ]
- HRESULT Smooth(
- [in] ImsiSmoothQuality prop
- );
- };
-
- [
- uuid(6A481409-E531-11CF-A115-00A024158DAF)
- ,version(8.0)
- ,helpfile("tcsdk.chm")
- ,helpstring("GXSurface 8.0 Type Library")
- ]
- library GXSurfLib
- {
- importlib("stdole32.tlb");
- importlib("stdole2.tlb");
- importlib("..\include\imsigx.tlb");
-
- [
- uuid(6A481810-E531-11CF-A115-00A024158DAF)
- ,hidden
- ,helpcontext(0x140B0000)
- ,helpstring("The TurboCAD Surface.")
- ]
- coclass XSurface
- {
- [default] interface ISurface;
- }
- };
-